﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;

namespace BostonXNA.InputHandling.Input
{
    class KeyUpActivity : InputActivity
    {
        public Keys Key = Keys.None;

        public override bool Check(InputState state)
        {
            return state.Keyboard.Current.IsKeyUp(Key);
        }
    }

    class KeyDownActivity : InputActivity
    {
        public Keys Key;

        public override bool Check(InputState state)
        {
            return state.Keyboard.Current.IsKeyDown(Key);
        }
    }
}